package com.zhumo.sz.entity.road;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * id INT 自增id PRIMARYKEY
 * data_id BIGINT 数据唯一标识 PRIMARY KEY
 * road_id BIGINT 测试道路id
 * road_type VARCHAR 测试道路类型
 * dirname VARCHAR 方向
 * car_name INT 总样本车数
 * distance DOUBLE 总形式距离
 * is_light TINYINT 有无红绿灯
 * light_wait_time DOUBLE 红绿灯等待时间
 * start_timestamp LONG 起始时间片
 * end_timestamp LONG 截止时间片
 * create_time DATETIME 创建时间
 * update_time DATETIME 更新时间
 * road_velocity_detail 公路测速
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "城市公路测速",description = "城市公路测速明细表")
public class RoadVelocityDetail {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("测速结果唯一标识")
    private Long dataId;

    @ApiModelProperty("公路id")
    private String roadCode;

    @ApiModelProperty("公路类型")
    private String roadType;

    @ApiModelProperty("方向")
    private String dirname;

    @ApiModelProperty("样本数量")
    private Integer carNum;

    @ApiModelProperty("测速距离")
    private Double distance;

    @ApiModelProperty("是否包含红绿灯")
    private Boolean isLight;

    @ApiModelProperty("红绿灯等待时间")
    private Integer lightWaitTime;

    @ApiModelProperty("起始时间戳")
    private Long startTimestamp;

    @ApiModelProperty("结束时间戳")
    private Long endTimestamp;

    @ApiModelProperty("创建时间")
    private Timestamp createTime;

    @ApiModelProperty("更新时间")
    private Timestamp updateTime;
}
